package com.db.device.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.db.device.dto.DevicePageDto;
import com.db.device.entity.Device;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 设备表 Mapper 接口
 * </p>
 *
 * @author vodka
 * @since 2023-10-30
 */

@Mapper
public interface DeviceMapper extends BaseMapper<Device> {

    List<Device> page(@Param("devicePageDto") DevicePageDto devicePageDto, @Param("start") Long start);


}
